Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Microsoft Windows [Version 10.0.22631.3880]
- (c) Microsoft Corporation. All rights reserved.
- C:\Users\fstojanov22>cd "C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna"
- C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna>git checkout -b test_branch
- Switched to a new branch 'test_branch'
- C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna>git checkout main
- error: pathspec 'main' did not match any file(s) known to git
- C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna>git checkout main
- error: pathspec 'main' did not match any file(s) known to git
- C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna>git add test.txt
- C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna>git commit -m "test_file"
- [test_branch (root-commit) 28baffe] test_file
- Committer: Filip Stojanov <[email protected]>
- Your name and email address were configured automatically based
- on your username and hostname. Please check that they are accurate.
- You can suppress this message by setting them explicitly. Run the
- following command and follow the instructions in your editor to edit
- your configuration file:
- git config --global --edit
- After doing this, you may fix the identity used for this commit with:
- git commit --amend --reset-author
- 1 file changed, 4 insertions(+)
- create mode 100644 test.txt
- C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna>git push
- fatal: The current branch test_branch has no upstream branch.
- To push the current branch and set the remote as upstream, use
- git push --set-upstream origin test_branch
- To have this happen automatically for branches without a tracking
- upstream, see 'push.autoSetupRemote' in 'git help config'.
- C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna> git push --set-upstream origi
- n test_branch
- Enumerating objects: 3, done.
- Counting objects: 100% (3/3), done.
- Writing objects: 100% (3/3), 251 bytes | 125.00 KiB/s, done.
- Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
- To https://github.com/VStojanovic-RG/rg2024-ppj3-fstojanov22.git
- * [new branch] test_branch -> test_branch
- branch 'test_branch' set up to track 'origin/test_branch'.
- C:\Users\fstojanov22\Desktop\filip - programiranje - treca god\git dodatna>
Advertisement
Add Comment
Please, Sign In to add comment