git

リモートプロジェクトをworkspaceに取り込む方法

2パターンある。EGitプラグインが入っている前提で。■コマンドでgit cloneした後にworkspaceに取り込む $ git clone ***@***.git $ mvn eclipse:eclipse <eclipseからプロジェクトとして認識させる Eclipseで「Import>Existing Projects into Workspace>S…

git+gitlabでプロジェクト管理メモ

git

ローカルリポジトリの準備 $ git init Initialized empty Git repository in /Developer/workspace/[project]/.git/ $ git status # On branch master # # Initial commit # # Untracked files: # (use "git add <file>..." to include in what will be committed)</file>…

リモートbareリポジトリをつくり直すメモ

git

$ git remote rm origin $ git remote add origin hoge@hoge.com:/Developer/git/repos/hoge.git $ git push origin master