Advertisement
LemmingAvalanche

git init on linux

Apr 26th, 2023
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. $ git init
  2. hint: Using 'master' as the name for the initial branch. This default branch name
  3. hint: is subject to change. To configure the initial branch name to use in all
  4. hint: of your new repositories, which will suppress this warning, call:
  5. hint:
  6. hint: git config --global init.defaultBranch <name>
  7. hint:
  8. hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
  9. hint: 'development'. The just-created branch can be renamed via this command:
  10. hint:
  11. hint: git branch -m <name>
  12. Initialized empty Git repository in /tmp/hello/.git/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement