Skip to content

Instantly share code, notes, and snippets.

@f7q
Created June 17, 2018 15:33
Show Gist options
  • Save f7q/425b44e2490bc06d54cae8a2b27c939d to your computer and use it in GitHub Desktop.
Save f7q/425b44e2490bc06d54cae8a2b27c939d to your computer and use it in GitHub Desktop.
git checkout hash
#!/bin/bash
while read line;
do
git clone git@github.com:f7q/$line.git
done < GitClone.txt
#!/bin/bash
while read line;
do
sha=`git -C $(pwd)/$line rev-parse HEAD`
#echo git clone git@github.com:f7q/$line.git
echo git -C $(pwd)/$line checkout $sha
done < GitClone.txt
ExtCore
ExtCore-Sample
Knowledge
learning
SubTreeLearn
WPFLearn
IdentityServer4Authentication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment