Suche senden
Hochladen
Gitosis on Mac OS X Server
•
2 gefällt mir
•
2,409 views
Yasuhiro Asaka
Folgen
Technologie
Melden
Teilen
Melden
Teilen
1 von 24
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Clojure + MongoDB on Heroku
Clojure + MongoDB on Heroku
Naoyuki Kakuda
Productivity tips for developers
Productivity tips for developers
Sebastian Witowski
GoLang & GoatCore
GoLang & GoatCore
Sebastian Pożoga
Gogo shell
Gogo shell
jwausle
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertor
Toshiaki Baba
Basic command for linux
Basic command for linux
gt0ne
Biicode OpenExpoDay
Biicode OpenExpoDay
fcofdezc
Augeas
Augeas
lutter
Empfohlen
Clojure + MongoDB on Heroku
Clojure + MongoDB on Heroku
Naoyuki Kakuda
Productivity tips for developers
Productivity tips for developers
Sebastian Witowski
GoLang & GoatCore
GoLang & GoatCore
Sebastian Pożoga
Gogo shell
Gogo shell
jwausle
agri inventory - nouka data collector / yaoya data convertor
agri inventory - nouka data collector / yaoya data convertor
Toshiaki Baba
Basic command for linux
Basic command for linux
gt0ne
Biicode OpenExpoDay
Biicode OpenExpoDay
fcofdezc
Augeas
Augeas
lutter
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Gagah Arifianto
Linux Command Line
Linux Command Line
Prima Yogi Loviniltra
Git walkthrough
Git walkthrough
Mahmoud Said
Comets notes
Comets notes
Ilija Dukovski
Containers for sysadmins
Containers for sysadmins
Carlos de Alfonso Laguna
Devinsampa nginx-scripting
Devinsampa nginx-scripting
Tony Fabeen
My First Source Code
My First Source Code
enidcruz
Andrey Listochkin "Everybody stand back! I know regular expressions"
Andrey Listochkin "Everybody stand back! I know regular expressions"
Fwdays
Cis 216 – shell scripting
Cis 216 – shell scripting
Dan Morrill
Ansible, Simplicity, and the Zen of Python
Ansible, Simplicity, and the Zen of Python
toddmowen
nouka inventry manager
nouka inventry manager
Toshiaki Baba
Capistrano Rails
Capistrano Rails
Александр Ежов
Introduction to Resque
Introduction to Resque
koshigoe
clonehd01
clonehd01
Luiz Francisco Bozo
Git Quick Intro
Git Quick Intro
Corneliu Claudiu Prodescu
Kubernetes + Docker + Elixir - Alexei Sholik, Andrew Dryga | Elixir Club Ukraine
Kubernetes + Docker + Elixir - Alexei Sholik, Andrew Dryga | Elixir Club Ukraine
Elixir Club
Linux basic3
Linux basic3
Hideo Amezawa
Process monitoring in UNIX shell scripting
Process monitoring in UNIX shell scripting
Dan Morrill
EC2
EC2
Igor Kapkov
Container Security
Container Security
amouat
GTFO: Git Theory For OpenSource
GTFO: Git Theory For OpenSource
Forest Mars
Git and github 101
Git and github 101
Senthilkumar Gopal
Weitere ähnliche Inhalte
Was ist angesagt?
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Gagah Arifianto
Linux Command Line
Linux Command Line
Prima Yogi Loviniltra
Git walkthrough
Git walkthrough
Mahmoud Said
Comets notes
Comets notes
Ilija Dukovski
Containers for sysadmins
Containers for sysadmins
Carlos de Alfonso Laguna
Devinsampa nginx-scripting
Devinsampa nginx-scripting
Tony Fabeen
My First Source Code
My First Source Code
enidcruz
Andrey Listochkin "Everybody stand back! I know regular expressions"
Andrey Listochkin "Everybody stand back! I know regular expressions"
Fwdays
Cis 216 – shell scripting
Cis 216 – shell scripting
Dan Morrill
Ansible, Simplicity, and the Zen of Python
Ansible, Simplicity, and the Zen of Python
toddmowen
nouka inventry manager
nouka inventry manager
Toshiaki Baba
Capistrano Rails
Capistrano Rails
Александр Ежов
Introduction to Resque
Introduction to Resque
koshigoe
clonehd01
clonehd01
Luiz Francisco Bozo
Git Quick Intro
Git Quick Intro
Corneliu Claudiu Prodescu
Kubernetes + Docker + Elixir - Alexei Sholik, Andrew Dryga | Elixir Club Ukraine
Kubernetes + Docker + Elixir - Alexei Sholik, Andrew Dryga | Elixir Club Ukraine
Elixir Club
Linux basic3
Linux basic3
Hideo Amezawa
Process monitoring in UNIX shell scripting
Process monitoring in UNIX shell scripting
Dan Morrill
EC2
EC2
Igor Kapkov
Container Security
Container Security
amouat
Was ist angesagt?
(20)
NUMOSS 4th Week - Commandline Tutorial
NUMOSS 4th Week - Commandline Tutorial
Linux Command Line
Linux Command Line
Git walkthrough
Git walkthrough
Comets notes
Comets notes
Containers for sysadmins
Containers for sysadmins
Devinsampa nginx-scripting
Devinsampa nginx-scripting
My First Source Code
My First Source Code
Andrey Listochkin "Everybody stand back! I know regular expressions"
Andrey Listochkin "Everybody stand back! I know regular expressions"
Cis 216 – shell scripting
Cis 216 – shell scripting
Ansible, Simplicity, and the Zen of Python
Ansible, Simplicity, and the Zen of Python
nouka inventry manager
nouka inventry manager
Capistrano Rails
Capistrano Rails
Introduction to Resque
Introduction to Resque
clonehd01
clonehd01
Git Quick Intro
Git Quick Intro
Kubernetes + Docker + Elixir - Alexei Sholik, Andrew Dryga | Elixir Club Ukraine
Kubernetes + Docker + Elixir - Alexei Sholik, Andrew Dryga | Elixir Club Ukraine
Linux basic3
Linux basic3
Process monitoring in UNIX shell scripting
Process monitoring in UNIX shell scripting
EC2
EC2
Container Security
Container Security
Ähnlich wie Gitosis on Mac OS X Server
GTFO: Git Theory For OpenSource
GTFO: Git Theory For OpenSource
Forest Mars
Git and github 101
Git and github 101
Senthilkumar Gopal
git internals
git internals
Dennis Byrne
Loading...git
Loading...git
Rafael García
Git
Git
Parag Gupta
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
Carina C. Zona
Get Good With Git
Get Good With Git
Hoffman Lab
GIT - GOOD PRACTICES
GIT - GOOD PRACTICES
Rodolfo Spalenza
Git for beginners
Git for beginners
Vinh Nguyen
GitSetupLinux
GitSetupLinux
Shubham Verma
Git setuplinux
Git setuplinux
Shubham Verma
Introducción a git y GitHub
Introducción a git y GitHub
Lucas Videla
Version Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an example
Gaurav Kumar Garg
Intro to Git DevOps Tally Presentation 101615
Intro to Git DevOps Tally Presentation 101615
Brian K. Vagnini
Git Concepts, Commands and Connectivity
Git Concepts, Commands and Connectivity
Raja Soundaramourty
DrupalCafe5 VCS
DrupalCafe5 VCS
Yuriy Gerasimov
Introduction to GIT
Introduction to GIT
Piotr Benetkiewicz
GIT_In_90_Minutes
GIT_In_90_Minutes
vimukthirandika
Git_real_slides
Git_real_slides
Khanh NL-bantoilatoi
Git real slides
Git real slides
Lucas Couto
Ähnlich wie Gitosis on Mac OS X Server
(20)
GTFO: Git Theory For OpenSource
GTFO: Git Theory For OpenSource
Git and github 101
Git and github 101
git internals
git internals
Loading...git
Loading...git
Git
Git
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
Cool Git Tricks (That I Learn When Things Go Badly) [1/2]
Get Good With Git
Get Good With Git
GIT - GOOD PRACTICES
GIT - GOOD PRACTICES
Git for beginners
Git for beginners
GitSetupLinux
GitSetupLinux
Git setuplinux
Git setuplinux
Introducción a git y GitHub
Introducción a git y GitHub
Version Control Systems with git (and github) as an example
Version Control Systems with git (and github) as an example
Intro to Git DevOps Tally Presentation 101615
Intro to Git DevOps Tally Presentation 101615
Git Concepts, Commands and Connectivity
Git Concepts, Commands and Connectivity
DrupalCafe5 VCS
DrupalCafe5 VCS
Introduction to GIT
Introduction to GIT
GIT_In_90_Minutes
GIT_In_90_Minutes
Git_real_slides
Git_real_slides
Git real slides
Git real slides
Kürzlich hochgeladen
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
Rick Flair
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Mydbops
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
HarshalMandlekar2
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Lonnie McRorey
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Alkin Tezuysal
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Ingrid Airi González
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
LoriGlavin3
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
Nicole Novielli
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
LoriGlavin3
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Scott Andery
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
Knoldus Inc.
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
Ravi Sanghani
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
Wes McKinney
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Inflectra
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Farhan Tariq
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
panagenda
Kürzlich hochgeladen
(20)
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Gitosis on Mac OS X Server
1.
2.
3.
‣ ‣ ‣ ‣ ‣ ‣ ‣ ‣
4.
5.
6.
7.
8.
master
9.
10.
Awesome Terminal -
bash - ⌘ 1 $ mkdir test && cd test $ git init # => Initialized empty Git repository in /path/to/test/.git/ $ echo test > test.txt $ git status # => # On branch master # # Initial commit # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # test.txt nothing added to commit but untracked files present (use "git add" to track) $ git add -A # => $ git status # => # On branch master # # Initial commit # # Changes to be committed: # (use "git rm --cached <file>..." to unstage) # # new file: test.txt # $ git commit -m ‘created test.txt’ -m ‘initial commit !’ # => [master (root-commit) a7d81b8] created test.txt 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 test.txt
11.
12.
Awesome Terminal -
bash - ⌘ 1 $ git config -l # => svn info user.name=grauwoelfchen user.email=grauwoelfchen@gmail.com color.ui=auto # => core.autocrlf=input # => LF core.excludesfile=/Users/grauwoelfchen/.gitexclude # => core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true core.ignorecase=true remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* remote.origin.url=git@github.com:foo.git # => remote.moxssg.fetch=+refs/heads/*:refs/remotes/moxssg/* remote.moxssg.url=git@example.com:foo.git # =>
13.
Awesome Terminal -
bash - ⌘ 1 $ git log -3 -p Gemfile # => ‘Gemfile’ 3 commit 9d3f4bc38f2d89d98567af017cf0327626e4effa Author: grauwoelfchen <grauwoelfchen@gmail.com> Date: Sun Apr 3 23:39:49 2011 +0900 specified version of maruku gem. diff --git a/Gemfile b/Gemfile index 99fa1f0..df7bac2 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem 'bson_ext', '~> 1.2' gem 'data_mapper' gem 'mongoid_taggable' gem 'will_paginate', '~> 3.0.pre2' -gem 'maruku' +gem 'maruku', '~> 0.6.0' group :development do gem 'rspec', '2.5.0' commit 878ecc909708a46dfc1c85b23ed2c344b5343032 :
14.
Awesome Terminal -
bash - ⌘ 1 # $ git rev-list --all Gemfile | wc -l 6 # $ git blame Gemfile 497c0e86 (jobs 2011-03-09 11:57:22 +0900 1) source :gemcutter 497c0e86 (jobs 2011-03-09 11:57:22 +0900 2) 878ecc90 (jobs 2011-03-22 03:20:17 +0900 3) gem 'sinatra', '~> 1.2.0' 497c0e86 (jobs 2011-03-09 11:57:22 +0900 4) gem 'haml', '3.0.25' 497c0e86 (jobs 2011-03-09 11:57:22 +0900 5) gem 'mongoid', '2.0.0.rc.7' d2560ba3 (jobs 2011-03-21 11:59:52 +0900 6) gem 'bson_ext', '~> 1.2' # $ git show HEAD~3 Gemfile commit 9d3f4bc38f2d89d98567af017cf0327626e4effa Author: grauwoelfchen <grauwoelfchen@gmail.com> Date: Sun Apr 3 23:39:49 2011 +0900 specified version of maruku gem. diff --git a/Gemfile b/Gemfile index 99fa1f0..df7bac2 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem 'bson_ext', '~> 1.2' gem 'data_mapper' -gem 'maruku' +gem 'maruku', '~> 0.6.0'
15.
16.
Git/Mercurial/Bazaar svn
bzr hg ‥
17.
18.
19.
20.
21.
22.
Awesome Terminal -
bash - ⌘ 1 # gitosis $ python --version Python 2.5.1 $ git clone git://eagain.net/gitosis.git $ cd gitosis $ sudo python setup.py install ... # # dscl . -create /Users/git # dscl . -create /Users/git UserShell /bin/bash # dscl . -create /Users/git RealName "git" # dscl . -create /Users/git NFSHomeDirectory /Users/git # dscl . -create /Users/git UniqueID xxx # dscl . -create /Users/git PrimaryGroupID xxx # createhomedir -b -u git
23.
Awesome Terminal -
bash - ⌘ 1 # $ ln -s /srv/repos/git /Users/git/repositories $ sudo chown -R git /Users/git/repositories # ( ) $ scp ~/.ssh/id_rsa.pub admin@example.com:/tmp/git # => ... # gitosis $ sudo -H -u git gitosis-init < /path/to/id_rsa.pub Initialized empty Git repository in /srv/repos/git/gitosis-admin.git/ Reinitialized existing Git repository in /srv/repos/git/gitosis-admin.git/ ... # post-update $ sudo chmod 755 /srv/repos/git/gitosis-admin.git/hooks/post-updat # git PATH $ touch ~/.bashrc $ echo PATH=/usr/local/bin:$PATH > .bashrc # => brew install git $ echo export PATH >> .bashrc # !! # $ sudo demo
24.
Awesome Terminal -
bash - ⌘ 1 $ exit logout [My LT completed] #
Jetzt herunterladen