Last active
          March 18, 2020 14:06 
        
      - 
      
 - 
        
Save michalpenka/6008c82e7ebbabc35415266a0d16629d to your computer and use it in GitHub Desktop.  
    Clone repository, move existing code to git-managed directory, add .gitignore and finally stage, commit and push the code to remote
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | cd source/repos | |
| git clone https://[email protected]/YOUR_ORGANIZATION/HelloWorld/_git/HelloWorld helloworld_git | |
| mv -v helloworld/* helloworld_git/ | |
| rm -r helloworld | |
| cd helloworld_git | |
| dotnet new gitignore | |
| git add -A | |
| git commit -m "Initial version" | |
| git push | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment