Skip to content
ScientificWare edited this page Feb 12, 2023 · 8 revisions

Commandes Git usuelles :

Affichage des différentes branches du projet : git branch

[scientificware2016@localhost openjdk-jfx-compile (develop)]$ git branch
  WebCorePatch2018062102_work
  WebCorePatch2018062102_work_sauvegarde
  WebCorePatch2018063010_work
  WebCorePatch2018063010_work_sauvegarde
* develop
  develop_sauvegarde
  issue#118_HTMLEditor_and_MathML
  master
  master_test
[scientificware2016@localhost openjdk-jfx-compile (develop)]$

git checkout master

git config -l ou git config --list

Exemple :

[... openjdk-jfx]$ git config --list
user.name=Guy Abossolo Foh
[email protected]
merge.tool=vimdiff
core.editor=kwrite
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=https://github.com/javafxports/openjdk-jfx.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.develop.remote=origin
branch.develop.merge=refs/heads/develop
branch.master.remote=origin
branch.master.merge=refs/heads/master
gui.wmstate=normal
gui.geometry=1045x475+417+99 221 219

git pull upstream master

git push origin master -f

git pull upstream develop

git push origin develop -f

Utilisation de SSH :

Document de référence pour GitHub : Authentification

  1. Se placer dans le répertoire racine de l'utilisateur.
  2. $ ssh-keygen -t ed25519 -C "[email protected]"
  3. cat ~/.ssh/id_ed25519.pub
  4. ls -al ~/.ssh
  5. eval "$(ssh-agent -s)"
  6. ssh-add ~/.ssh/id_ed25519
  7. git push upstream scientificware-patch-002-CSS-add_missing_named_color
Clone this wiki locally