Python - f-string
摘要:>>> round(2.5) 2 >>> round(2.500001) 3 >>> round(3.5) 4
阅读全文
Git - commit a single file
摘要:Use 'git commit -m <commit_message> -- <path_to_file>' to commit a single file.
阅读全文
Git - revert a single file to a specific commit
摘要:1. Use 'git log' to view the history of commits and get the commit ID of the commit you want to revert the file to. 2. Use 'git checkout <the commit I
阅读全文