ENVIAR ALTERAÇÕES PARA SERVIDOR REMOTO | |
--- | |
git add . (todas as alteracoes, desde que esteja na pasta root do projeto) | |
git add <diretorio/nome_do arquivo> (para arquivo em especifico) | |
git commit -m "Descrição" | |
git push origin <branch> | |
RECEBER ALTERACOES SERVIDOR | |
--- |
Note: Nexus group repositories (good example in this StackOverflow question) are out of this tutorial's scope. In any case, deployment to group repositories is currently still an open issue for Nexus 3 (and not intended ever to be implemented in Nexus 2). Thus, it is assumed that we'll push & pull to/from the same repository, and ignore the idea of groups hereon in.
-
Ask your sysadmin for a username & password allowing you to log into your organistation's Nexus Repository Manager.
-
Test the login credentials on the Nexus Repository manager at: http://localhost:8081/nexus/#view-repositories (
localhost
in our case is replaced by a static IP, and can only be connected to over VPN). If your organisation requires a VPN to connect to it, connect to that VPN before proceeding with this tutori