
Git is full of hidden advanced features. Reply to us with your Git discoveries and we'll share them with the Twitterverse.
Joined January 2011
- Tweets68
- Following5
- Followers43
- Likes0
Your Daily Git retweeted
Loser of this fantasy football league gets a hideous tattoo.These are actual grown men. America is a wonderful place youtu.be/lEt1vcp2bgs
How to clone a specific #git branch: git clone -b <branch> <remote_repo>
1
1
Your Daily Git retweeted
Tired of typing the #github command: git clone git://github.com/somelongusername/somerepo ? Try my .gitconfig gist.github.com/1544821
Your Daily Git retweeted
Git is such a huge turning point in human history, I propose we call our current time period the Git Age.
Force a #git push to a repo; for example, if you reset back some local commits which were already pushed: git push --force
1
Now to blow your mind with crazy a #git hack: progit.org/book/ch6-7.html
Remove a #git commit (only for local commits). 1) git rebase -i <commit a spot before target>. 2) Delete the row of the commit, save, quit.
How GitHub does their workflow (also commentary on git-flow): scottchacon.com/2011/08/31/g…
1
Echo out the (un-diffed) contents of a file from a previous #git commit: git show <commit hash>:<path/to/file>
Use #git to email yourself a list of patches: git send-email <commits since this revision>
Reset your #git tree to a previous commit while preserving your local working changes: git reset --keep <commit>
Add a remote git-svn branch for any URL path: stackoverflow.com/questions/… #git
After git-svn cloning a repo with -s to include the remote branches/tags, a local branch must be created before you can work in it. #git



