fatal: Not a valid object name: 'master'
在使用git的時候,可能會出現如下報錯:
[HTML] 純文字檢視 複製程式碼fatal: Not a valid object name: 'master'
報錯翻譯成漢語意思大致是:一個非法的master分支,也就是說本地還沒有一個master分支。
master分支是自動建立的,這點沒錯,但是必須要至少進行一次提交一會,才會自動建立此分鐘。
初始化一個倉庫後,立馬建立一個新的分支"antzone",結果報錯。
程式碼修改如下:
進行一次提交之後,再去建立分支就不會出現此錯誤。
相關文章
- Caused by: Error: ' ' is not a valid resource name characterError
- Object Name Resolution (248)Object
- “Operation is not valid due to the current state of the object.”Object
- python函式每日一講 - delattr(object, name)Python函式Object
- 【Mysql】Slave_IO_Running: No---Got fatal error 1236 from masterMySqlGoErrorAST
- brew 報錯 error: Not a valid ref: refs/remotes/origin/master 的解決方法ErrorREMAST
- Got fatal error 1236 from master when reading data from binary logGoErrorAST
- 登陸peoplesoft報:Site name is not valid. Check your url syntax and try again.AI
- INS-40904 ORACLE_HOSTNAME Does not Resolve to a Valid Host Name [ID 1281039.1]Oracle
- Oracle 12c安裝報錯?[FATAL] PRVF-0002 : could not retrieve local node nameOracle
- MySQL Master/Slave Master/MasterMySqlAST
- FATAL - Fatal error: Target Interaction Manager failed at StartupErrorAI
- The database owner SID recorded in the master database differs from the database owner SID recorded in database 'DB_NAME'DatabaseAST
- MySQL主從複製報錯:Got fatal error 1236 from master when reading data fromMySqlGoErrorAST
- mysql主從同步失敗Last_IO_Error: Got fatal error 1236 from master解決方法MySql主從同步ASTErrorGo
- MySQL複製環境Slave報錯"Got fatal error 1236 from master when reading data"MySqlGoErrorAST
- Percona MySQL 5.6 主主複製環境報錯"Got fatal error 1236 from master.."MySqlGoErrorAST
- Linked Server: EXECUTE permission denied on object 'xp_prop_oledb_provider', database 'master', owne...ServerObjectIDEDatabaseAST
- DB_NAME&TANCE_NAME&DB_UNIQUE_NAME&ORACLE_SID&GLOBAL_NAME&DB_DOMAIN&SERVICE_NAMEOracleAI
- fatal: Authentication failedAI
- 故障案例:主從同步報錯Fatal error: The slave I/O thread stops because master and slave have equal MySQL server主從同步ErrorthreadASTMySqlServer
- ! [rejected] master -> master (fetch first)AST
- Mysql5.6 Master+MasterMySqlAST
- MySQL案例09:Last_IO_Error: Got fatal error 1236 from master when reading data from binary logMySqlASTErrorGo
- error: '[class name]' does not name a typeError
- 解決RMAN中 recovery catalog database: ORA-00955: name is already used by an existing objectDatabaseObject
- CUUG 筆記ORACLE db_name instance_name gobal_name service_name db_unique_name分析筆記OracleGo
- Mongodb的master-slave模式與master-master模式實驗MongoDBAST模式
- 更改Global_name, domain_name, db_name 的方法AI
- change master 未指定master_log_fileAST
- spring - mvc - @ValidSpringMVC
- DB_NAME、DB_UNIQUE_NAME、SERVICE_NAME和INSTANCE_NAME等的區別
- Git branching: master vs. origin/master vs. remotes/origin/masterGitASTREM
- db_name,db_domain, global_name, service_name的區別AI
- CSS :valid 選擇器CSS
- 941. Valid Mountain ArrayAI
- Leetcode Valid NumberLeetCode
- Leetcode Valid ParenthesesLeetCode