Skip to content

Latest commit

 

History

History
54 lines (27 loc) · 820 Bytes

File metadata and controls

54 lines (27 loc) · 820 Bytes

git config

git config --global user.name "Your Name" 				//for your global username
git config --global user.email "your.email@example.com"	//for your global email

git config --global core.editor <editor>			//for your ide

git config --global color.ui true					//for your endpoint color

git config --global core.autocrlf input 			// for macOs and Linux
git config --global core.autocrlf true  			// for windows

other config

git config --global alias.<alias-name> <git-command>		//for your command alias
//git config --global alias.st status

git remote add <remote-name> <remote-url>
//git remote add origin git@github.com:username/repo.git

git normal update

git status

git add .

git commit -m" comment"

git push


// download
git pull
git update
git merge