Télécommande git

Exemples de code

39
0

obtenir git remote url

 git config --get remote.origin.url
25
0

obtenir l'url distante git

 git config --get remote.origin.url
10
0

afficher git distant

# If you require full output and you are on a network that can reach the remote repo where the origin resides 
git remote show origin
9
0

git vérifie l'url en amont

git remote show origin
8
0

télécommande git

git remote add origin <repository url> # adds a repo to your project

git remote								# lists all the repos of your project
git config --get remote.origin.url		# prints the url of a repo
git push origin master					# updates the master branch of your repo

git remote remove origin				# removes the repo from your project
3
0

télécommande git

git remote #This has two part "origin" and "upstream"

# Adding origin
git remote add origin <The url of local github repository>

#Adding upstream
git remote add upstream <The url where you have forked repository>

Dans d'autres langues

Cette page est dans d'autres langues

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................