


Predefined specification incorporates predefined specifications:Īdd All Branches Spec declares that you want to map your local branch names to the same branch names on the repository you are pushing to.Īdd All Tags Spec declares that you want to map your local tags one-by-one to the same tags on the repository you are pushing to.įor push contains all the mappings to be pushed: To create a new reference that will help you remember where your latest commit is, you can technically do something as simple as this: echo 1a410efbd13591db07496601ebc7a059dd55cfe9 >.
#GIT ADD REMOTE REF HOW TO#
You can select the necessary specification from the drop-down list or type it in directly (you may also use wildcards): To be able to collaborate on any Git project, you need to know how to manage your remote repositories. The git remote add command takes two arguments: A unique remote name, for example, myawesomenewremoterepo A remote URL, which you can find on the Source sub-tab of your Git repo.
#GIT ADD REMOTE REF UPDATE#
Update git Version My Git version is 2.9. 2.1 Getting a Git Repository 2.2 Recording Changes to the Repository 2.
#GIT ADD REMOTE REF INSTALL#
npm install pm2 -g Copy the code Checking the Remote Server. 1.2 A Short History of Git 1.3 What is Git 1.4 The Command Line 1.5 Installing Git 1.6 First-Time Git Setup 1.7 Getting Help 1.8 Summary 2. Source and destination branches are chosen among the existing ones from the drop-down lists:Īdd Spec button sends the newly defined specification to the list of Specifications for push:ĭelete ref specification specifies what remote branch you want to delete: If you push Delete Ref Specification, the matching ref will be deleted from the destination folder: To add a new remote, use the git remote add command on the terminal, in the directory your repository is stored at. Install PM2 globally on both your local and remote sites. To push you changes to the remote repository, you have to define how your local branches and tags refer to remote ones (= specify references).Ĭreate/update specification specifies what local branch you want to map with what remote branch: Now all your changes were pushed to the remote repository.
