I remember when I worked on commend line git over Linux, I was able to sync my repository with a peer repository for, say, integration testing before both of us push to the central or origin git repository. Can I do similarly with SourceTree? If so, is there any resources documenting how?
Git is designed to be de-centralized. All non-local repositories (central or peer) are "remotes". You should be able to add the peer repository as a remote using the parameters you used for connecting with command line.
So one can't do so via the GUI? And such use case can only be done via command line?
My actual use case is syncing my Mac with Windows 7 repository which has VPN access to the remote origin (yep, my Mac has no VPN). How do I get git command line on Windows 7? [UPDATE: never mind about command line, I see the icon on the toolbar...]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you can use the GUI to add remotes. Under the repository menu, go to "Add remote...". In push/pull menus you'll have the option of which remote to use for the operation. It should default to origin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seth, thanks for responding. Since I can't find any useful documentation on SourceTree, can you possibly give me the steps using GUI to...
1) Share a local branch to peers
2) Formulate the connection string to access the local branch for a peer to add a remote
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.