Grimoire-
Command
.es

GNU+Linux command memo

Git : create repository

Git code

Création d’un dépôt git.

$ cd project/
$ git init
$ git add *
$ git commit

But where to git push to ?

$ git clone --bare . name_of_project.git
$ scp -r name_of_project.git distant.machine.tld:

Then you can create a new working copy (maybe on another machine) with :

$ git clone ssh://distant.machine.tld:/path/to/name_of_project.git
$ cd name_of_project/
 [edit]
$ git commit -am "edit"
$ git push

Selection

  • Check SSD remaining lifetime
  • Save data from lost partition
  • Cipher external Android SDcard
  • Recommanded Firefox addons
  • doc_crawler.py : Extract site PDFs
  • 20 mémos "ligne de commande"
  • [Mémo 8] compression de fichiers
  • [Mémo 10] explorer le matériel
  • Tectonique de la pâte thermique
  • Doc. AsciiDoctor en français
  Articles | Command.es | Mémos

Themes  

  • Artix
  • Debian
  • Fairphone
  • Firefox
  • Git
  • JavaScript
  • KVM
  • Memo
  • Nim
  • Python
  • SSH
  • Tor
  • Xorg
  • adminsys
  • android
  • asciidoc
  • benchmark
  • bluetooth
  • code
  • comfort
  • compression
  • database
  • date
  • game
  • hardware
  • install
  • metadata
  • mount
  • music
  • mutt
  • network
  • optimize
  • regex
  • repair
  • security
  • shell
  • storage
  • vim

Sponsor

Meta-Press.es: search-engine

Liberapay   Patreon

Support via BTC 12z7pK5YFcmG7PGJ985dFtnRzwtxDVDmwc

A propos  Flux