StoryCode

'Git, Github'에 해당되는 글 2건

  1. Github Action 사용법
  2. (작성중) Git, Github

Github Action 사용법

Git, Github
반응형

# 참조 : https://zzsza.github.io/development/2020/06/06/github-action/

 

 

반응형

'Git, Github' 카테고리의 다른 글

(작성중) Git, Github  (0) 2021.12.02

(작성중) Git, Github

Git, Github
반응형

$ sudo apt update & apt upgrade

$ sudo apt-get update

$ sudo apt-get install git-core
$ sudo apt-get install update

$ sudo git --version

$ sudo git config --global user.name "my id"

$ sudo git config --global user.email "my email"

$ sudo git config --global color.ui "auto"

$ mkdir productdirectory

# 참조 : https://www.youtube.com/watch?v=RNlb-3isGpk 

# 참조 : https://www.youtube.com/watch?v=W9zTttHeoHk

# 현재 모든 소스 로컬 git 에 추가후 git hub 에 githubtoken 으로 push 하기

$ git init

$ git add .

$ git status

$ git commit -m "Initial commit"

$ git status

( 바로 아래줄 사용 ) $ git remote add origin https://github.com/mygithub/repo.git #  개별 git 에서 Code > HTTPS > URL

$ git remote set-url origin https://{id}:{token}@github.com/mygithub/repo.git # 토큰은 github > settings > 왼쪽메뉴 제일 아래 Developer settings > Personal access tokens > Tokens (classic) > Token 생성 (일반적인 권한 : repo/ workflow/ gist/ user/ )

$ git push origin master

 

 

반응형

'Git, Github' 카테고리의 다른 글

Github Action 사용법  (0) 2022.01.25