Skip to content

Instantly share code, notes, and snippets.

@oeegee
Last active December 17, 2015 00:59
Show Gist options
  • Save oeegee/5524735 to your computer and use it in GitHub Desktop.
Save oeegee/5524735 to your computer and use it in GitHub Desktop.
AA+스터디그룹 표준 구성 패키지 git commit script : Apache - Httpd 2.4.4
저희 AA+스터디그룹 github 주소입니다.
https://github.com/organizations/AAPlus
# Github 가입하세요.
www.github.com
# Git 사용법 참고
http://mobicon.tistory.com/258
http://jonas.nitro.dk/git/quick-reference.html
[git repository 가져오기]
$ cd /project/AA+/servers/
$ mkdir workspace
$ cd workspace
$ git clone https://github.com/AAPlus/httpd-2.4.4-std.git
$ cd /project/AA+/servers/workspace/
$ git clone https://github.com/AAPlus/JBossAS7.git
$ git add jboss-as-7.1.1.Final-std.tgz
$ git commit -m "second commit"
$ git push -u origin master
Username for 'https://github.com': oeegee
Password for 'https://oeegee@github.com':
To https://github.com/AAPlus/JBossAS7.git
2259991..f0f5de3 master -> master
Branch master set up to track remote branch master from origin.
$ cd /project/AA+/servers/workspace/
$ mkdir httpd-2.4.4-std
$ cd httpd-2.4.4-std
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std# vi README.md
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std#
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std#
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std# git add README.md
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std# git add httpd.conf
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std# git add httpd-vhosts.conf
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std# git add httpd-2.4.4.tgz
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std# git commit -m "first commit"
[master (root-commit) d204940] first commit
Committer: root <root@ip-10-161-5-236.ap-northeast-1.compute.internal>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:
git config --global user.name "Your Name"
git config --global user.email you@example.com
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
4 files changed, 650 insertions(+)
create mode 100644 README.md
create mode 100644 httpd-2.4.4.tgz
create mode 100644 httpd-vhosts.conf
create mode 100644 httpd.conf
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std# git remote add origin https://github.com/AAPlus/httpd-2.4.4-std.git
$ root@ip-10-161-5-236:/project/AA+/servers/workspace/httpd-2.4.4-std# git push -u origin master
Username for 'https://github.com': oeegee
Password for 'https://oeegee@github.com':
To https://github.com/AAPlus/httpd-2.4.4-std.git
* [new branch] master -> master
Branch master set up to track remote branch master from origin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment