티스토리 뷰
728x90
출처
추가할 파일이 있는지 확인
$ git status
On branch master
Your branch is up to date with 'origin/master'.
Untracked files:
(use "git add <file>..." to include in what will be committed)
dist_admin.sh
nothing added to commit but untracked files present (use "git add" to track)
git 파일 추가
$ git add dist_admin.sh
추가한 파일 Repository에 commit
$ git commit -m "add dist_admin.sh"
[master de5e9a98] add dist_admin.sh
Committer: EC2 Default User <ec2-user@-------------------------->
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. Run the
following command and follow the instructions in your editor to edit
your configuration file:
git config --global --edit
After doing this, you may fix the identity used for this commit with:
git commit --amend --reset-author
1 file changed, 7 insertions(+)
create mode 100755 dist_admin.sh
원격 저장소에 push
$ git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
(use "git push" to publish your local commits)
nothing to commit, working tree clean
$ git push
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 2 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 441 bytes | 441.00 KiB/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1), completed with 1 local object.
To https://github.com/-----/--------
b9b9e27d..de5e9a98 master -> master
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Delphi
- sas2009
- ubuntu
- 지스타2007
- 전예희
- 레이싱모델 익스트림 포토 페스티벌
- koba2010
- Spring
- ble
- ffmpeg
- SAS
- oracle
- JavaScript
- android
- Mac
- 일본여행
- Xcode
- Delphi Tip
- NDK
- KOBA
- 동경
- flex
- Spring MVC
- 송주경
- 서울오토살롱
- MySQL
- Linux
- 튜닝쇼 2008
- BPI-M4
- Java
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
글 보관함