Похожие чаты

How do you guys show what branch you are on

on Terminal?

Once I used git clone [the github addresss] and moved to that directory,

I typed git config -e and it shows a list of branch

[core]
repositoryformatversion = 0
filemode = ture
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[remote “origin”]
url = [the GitHub address]
fetch = +refs/heads/*:refs/remotes/origin/*
[branch “main”]
remote = origin
merge = refs/heads/main

“~/[the relative path]/.git/config” 13L, 320B

but I don’t know how to make the terminal to show what brach where I’m in.

6 ответов

5 просмотров

git status

Charlemagne-Holdt Автор вопроса
Thomas
git status

Isn’t it supposed to show the branch name when you use cd [the GitHub address]?

Charlemagne-Holdt Автор вопроса
Thomas
git status

This is my instructor’s page. the one (master=).

Charlemagne-Holdt Автор вопроса
Ali Souri
screenshot You mean like this?

Yes. But it’s now supposed to be main not master since GitHub has changed their setting recently.

Похожие вопросы

Обсуждают сегодня

А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
Подскажите, где смотреть результат выполнения программы? Код: ;.686 ;Система команд процессора 686 ;.MODEL FLAT,stdcall ;Модель памяти плоская, станда...
Егор Анелькин
5
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
I arrived here after a Chico Crypto show highlighted the project & the Team - the fact that the Team had a long history of successfully working with household names gave me e...
Banter is Bullish
1
Привет всем. появился вопрос. Разрабатываю сайт, в данный момент он запущен. Хостинг beget. Добавляю на сайт яндекс метрику с помощью полей client-settings (взято отсюда http...
Andrew
2
;.686 ;Система команд процессора 686 ;.MODEL FLAT,stdcall ;Модель памяти плоская, стандартный ;вызов процедуры ;option casemap:no...
Егор Анелькин
1
Почему у макбука экран не сенсорный?
✨ Anatolii Cherednichenko
28
почому оно не работает?
Vi Chapmann Chapmann
19
It's unfortunate that the "Then why are you here" or "lol you must've bought high" mantras always come up. I already tried bringing up this subject in the price channel but si...
Leroy Gerrits
4
Так а кто может спарсить всех участников чата? Идишники
Magic
17
Карта сайта