mail@pastecode.io avatar
7 months ago
2.7 kB
mkaterishich@mkaterishich-l:~$ git clone https://gitlab.com/airbus3810/Eurobot_2024_Main_Board.git
Cloning into 'Eurobot_2024_Main_Board'...
Username for 'https://gitlab.com': kukaruka
Password for 'https://kukaruka@gitlab.com': 
remote: Enumerating objects: 1718, done.
remote: Counting objects: 100% (1718/1718), done.
remote: Compressing objects: 100% (1109/1109), done.
remote: Total 1718 (delta 644), reused 1594 (delta 575), pack-reused 0
Receiving objects: 100% (1718/1718), 4.71 MiB | 15.87 MiB/s, done.
Resolving deltas: 100% (644/644), done.

mkaterishich@mkaterishich-l:~$ cd Eurobot_2024_Main_Board/

mkaterishich@mkaterishich-l:~/Eurobot_2024_Main_Board$ git config user.name kukaruka

mkaterishich@mkaterishich-l:~/Eurobot_2024_Main_Board$ git config user.email katerishich.miu@gmail.com

mkaterishich@mkaterishich-l:~/Eurobot_2024_Main_Board$ git checkout dynamixel_get_angle_fix 
M       Core/Src/App/terminal_cmd_handlers.c
Branch 'dynamixel_get_angle_fix' set up to track remote branch 'dynamixel_get_angle_fix' from 'origin'.
Switched to a new branch 'dynamixel_get_angle_fix'

# Here I added a line to the line 51 of terminal_cmd_handlers.c in vscode

mkaterishich@mkaterishich-l:~/Eurobot_2024_Main_Board$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   Core/Src/App/terminal_cmd_handlers.c                    # <--- You see here the modified file

no changes added to commit (use "git add" and/or "git commit -a")

mkaterishich@mkaterishich-l:~/Eurobot_2024_Main_Board$ git add .

mkaterishich@mkaterishich-l:~/Eurobot_2024_Main_Board$ git commit -m "yet another commit msg"
[dynamixel_get_angle_fix 3b17c53] yet another commit msg
 1 file changed, 1 insertion(+), 1 deletion(-)
mkaterishich@mkaterishich-l:~/Eurobot_2024_Main_Board$ git push
Username for 'https://gitlab.com': kukaruka
Password for 'https://kukaruka@gitlab.com': 
Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 12 threads
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 588 bytes | 588.00 KiB/s, done.
Total 6 (delta 3), reused 0 (delta 0)
remote: To create a merge request for dynamixel_get_angle_fix, visit:
remote:   https://gitlab.com/airbus3810/Eurobot_2024_Main_Board/-/merge_requests/new?merge_request%5Bsource_branch%5D=dynamixel_get_angle_fix
To https://gitlab.com/airbus3810/Eurobot_2024_Main_Board.git
   a265b82..3b17c53  dynamixel_get_angle_fix -> dynamixel_get_angle_fix