https://stackoverflow.com/questions/6591213/how-do-i-rename-a-local-git-branch
Tag Archives: Git
Git tag delete
Backup git stash
Suppose you are working on a git repository and you have done some code changes into that which you don’t want to commit. May be there are some setup related changes you have done to run the application locally which don’t need to be committed. One option is to save all these changes into a git stash.
Continue readingGit history
Git history is a nice tool to see how changes had been made on a file overtime in a Git based repository. It currently works with public repositories which is hosted on GitHub, GitLab or Bitbucket.
GitHub – pomber/git-history: Quickly browse the history of a file from any git repository
Branch difference between Git and SVN
Version control system is a common thing to work with in daily basis for software developers. Git is the most commonly used version control system now a days. Lots of people comes from SVN world to Git currently. There are many differences between SVN and Git.
One main difference between SVN and Git is, SVN manages branches in folders but Git manages branches with pointers. So if I create a new branch from trunk in SVN then it creates a copy of the trunk branch in another folder with the name of new branch. Now as a developer I need to download or checkout the whole folder to work with that newly created branch. But in Git if I creates a new branch from master then it creates a pointer with the new branch name. I do not need to download the full code to work with that newly created branch. I just need to Git checkout the new branch in my same local copy and it is done. It a very fast process in Git in comparison with SVN. I can switch between branches with Git checkout command in my local copy. No need to download different version of folders for different branches. My code is in one copy in my local machine and I can switch between different branches with that.