top of page

How to transfer a new local Project directory to GITHub?

Updated: Apr 28, 2020

1. Create a new repository in GITHub

2. Copy the repository url

3. Open git bash command window

4. Type the command - git clone <CLONE-URL>

5. navigate into the new directory created by the clone operation: cd <clone directory>

6. Type the command - git config --global core.autocrlf true

7. Copy the folders/subfolders/files to the local directory

8. Move them to the staging area with the command - git add .

9. Give the command - 'git status' to ensure that all folders/files are moved to staging area.

10. Commit them - git commit -m "initial commit"

11. Type the command - git push -u origin master






Recent Posts

See All
Develop on a Sandbox or Dev org?

Perhaps the single most important factor in Force. com development is whether you're developing software for a specific organization or...

 
 
 
Package Development

Package development, every customization is managed as a single, seperately-deployable unit and all changes are tracked in source...

 
 
 

Comments


Post: Blog2_Post

©2020 by SalesforceDemystified. Proudly created with Wix.com

bottom of page