I wrote some code in some files in a folder called AA. I have a repo in remote in Bitbucket. Here're the steps to link my local to remote using TortoiseGit:
- Create a repo for the folder AA: Navigate to the folder in windows explorer and right click, in the popup menu, click Git Create repository here...
- Create a .gitignore file
- Commit the changes
- Set the remote: in windows explorer, right click, in the popup menu, point to TortoiseGit and click on Settings, select Git/Remote in the left panel and set the URL:
Now we can pull/rebase from remote, merge to local, and push to remote.
Posted by kiatng to Git (2019-10-14 02:42)