

git commit -m "Initial commit" git push -u origin master Push an existing Git repository cd existing_repo git remote rename origin old-origin git remote add origin git push -u origin -all git push -u origin -tags Git Workflow commands git init //initialize a folder to git git add filename //move the file from unstaged to staged git rm -cached filename //moves it from staged to unstaged git reset filename //moves it from staged to unstaged git add. The following commands will help upload existing files from your local machine Git global setup git config -global user.name "your user.name" git config -global user.email " Create a new repository git clone cd YourNewProject touch README.md git add README.md git commit -m "add README" git push -u origin master Push an existing folder cd existing_folder git init git remote add origin git add. Click "Launch Git Bash" box and click "Finish".Click the first two boxes and click 'Install'.Pick "Use MinTTY (the default terminal of MSYS2)" and click 'Next'.
Sourcetree and gitlab software#

Sourcetree and gitlab how to#
Don't forget to save the token, or you won’t be able to access it again one the page is refreshed or closed. Are you challenged by GitHub and GitLab not supporting large file types that surpass 100MB Check out this quick walk thru on how to use Git Large File. Copy the personal access token in a notepad.Click the c reate personal access token button.Select "Scopes", but the expiry date is optional. Create a new personal access token by giving it a name.Select access tokens from the User Settings.

Click s ettings on the upper right corner.
