What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-03-19 14:55:02
push project to gitlab account
# First remove any existing hidden git folder in your project folder # Initialize project in your folder git init # add your gitlab project as your remote origin git remote add origin https://gitlab.com/your_account_name/project_name.git # add all files i... Add solution -
Shell/Bash 2022-03-16 08:35:03
add a file to git
/* go to the folder, open the terminal and type this commands */ git init git add . /* . => it is to add all the files */ git commit -m "first_commit" git remote add origin https://github.com/yourusername/your-repo-name.git... Add solution -
Shell/Bash 2022-03-04 06:00:01
how to create git repository for vim
$ cd $ mv .vimrc .vim/vimrc $ echo "runtime vimrc" > .vimrc $ cd .vim $ git init $ echo "This is my Vim config." > README $ git add * $ git commit -m "My Vim config is versioned." $ git remote add origin https://github.... Add solution