2016-05-18 16 views
-1

デスクトップに複数のフォルダとサブフォルダがあるウェブサイトプロジェクトがあります。このウェブサイトをGitHubにコピーしたいと思います。 GitHubデスクトップアプリケーションを使用しているときにこれを行う最善の方法は何ですか?私は個々のファイルだけをアップロードできますが、フォルダはないようです。GitHubにウェブサイトをアップロード

+0

https://try.github.io/levels/1/challenges/1 – Marty

答えて

0

は、次のあなたのsshと種類を開き:あなたはSSHキーを要求するエラーが発生した場合

git remote add origin [Your HTTPS repository] 

cd [full project folder name] (eg ~/desktop/project1) 
git init 
git add . 
git commit -m "initial commit" 
git remote add origin [email protected]:[YourUSERNAME]/[YourREPOSITORY].git 
git push -u origin master 

ステップ5で置換することができます。 (可能な場合は、それらを設定する必要がありますが。)

http://i.imgur.com/X0FDTbq.png

0

2つの方法:アプリを使っ

1. Create repo in github 
2. Click clone or download then copy the URL 
3. In command line,Navigate to the root of your project folder 
4. initialize: git init 
5. track files: git add . 
6. commit: git commit -m "your message/comment" 
7. add remote repository: git remote add origin 'paste the repo link' 
8. git push origin master 

:コマンドラインを使用して

を。

1. Create Repo on Github site 
2. On you app, click + sign, under clone tab and Find that repo, then clone 
3. Put all your files/folders inside 
4. Then Sync 
関連する問題