GitLab
* git config --global user.name "rishabh.py"
run above line in cmd, this tell that gitlab this is our system and they don't ask every time for pulling and pushing the code , similarily
to check which user is added you can do with :- git config --global user.name
* git config --global user.email "rishabhgupta7683@gmail.com"
* git config --global --list :- this will show all the details about your account
* git init
to initialize the git repository
* git status
it will show the status of the project, and this will show that file is not added
* git add rishabh.py
this will add file name rishabh
to add multiple file at a time use
git add .
* To commit use
git commit -m "first commit"
* git push -u "https://gitlab.com/rishabh.py/onboarding-software.git" master
* Fork is the copy of the project
* Forking a repo allows you to make changes without affecting the original project
*
Comments
Post a Comment