Remember username and password when pull or push project
In this tutorial I will share how to remember username and password when pull or push by working with git , also I will share how to avoid conflict lines when developers are working at the same file in project.To git remember username and password when pull or push
1) Go to your project folder
2) Right click in your project
3) Select Git Bash
4) Type: git config credential.helper store
5) Enter : your username and password
Then when pull or push git next time it will remember your username and password automatically.
Sometime developers are working at the same file ,one developer committed his/her task first ,and next developer do the same lines and the same file when pull it will conflict lines that required developer merge or resolved that file or revert the previous file. To avoid conflict lines at the same file , here is step by step to avoid conflict line at the same file.
1) Commit your task (do not click button Push , just only commit )
2) Right click your project folder or your repository project
3) Stash Save
4) pull
5) stash pop
6) push
when push your project git will merge your code and line automatically.