This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#create a new branch | |
git checkout -b branch-name | |
#before pushing | |
git checkout master | |
git pull origin master | |
#it goes for the last branch used | |
git checkout - | |
#it will show conflicts | |
git rebase master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GIT CONFIG: | |
$git config --global user.name “username” | |
$git config --global user.email [email protected] | |
#setup your Git User Account. You need to have a git account in order to do it | |
GENERATE SSH KEY: | |
https://help.github.com/articles/generating-ssh-keys | |
INITIALIZING: | |
$mkdir projectname |