I'm creating this repo to test how the spyder-git integration works.
Commands and steps.
- Create a repo in github.
- Open git bash in your local system.
- pwd - to see the current working directory.
- cd /c/....... - to change the current directory.
- git init - to start a new project in your local system.
- git remote add origin "URL" - to add the origin in your local system.
- git add "new file name" - to track the newly added file. (git add -A for multiple files)
- git commit -m "Message" - to commit/save. (git commit -a -m "message" - for multiple files)
- git push -u origin master - to push the changes to the remote/centre.
- git checkout master - to change between branches. (Always be switch to master branch and merge others to it)
- ls - list of files in the directory.
- cat TestingCode.py - to view the file.
- git remote -v - To check the current remote. Output : origin https://github.com/nish4596/SpyderIntegrationTest.git (fetch) origin https://github.com/nish4596/SpyderIntegrationTest.git (push)
- git remote set-url origin "Paste link" - To change the remote url.