- git instaweb - this allows you to view your repo in a browswer; you can configure which web server you would like to use in your ~/.gitconfig file
- git log -n <filename> - you can restrict the number of commits that the log will show you for a given file
- git blame <filename> - you can see who author every line of code in a given file
- git diff ..origin/master <filename> - allows you to see the differences between your local file and the remote
- git merge --squash <branchname> - allows you to merge your commits from a local branch together as a group of modified files into the current branch
Even More Git Commands
Recent Git commands that have proved very helpful to me along with brief descriptions:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment