1. GitHub'a Link Verme
Eğer bir dosyadaki belirli satırlara link vermek istersek dosya linkinin sonuna #LBaşlangıçSatırNo-LBitişSatırNo eklenir
Örnek
Şöyle yaparız
2. Fork
Fork işlemi artık sadece "default" dalı getiriyor. Başka bir branch'i de getirmek için kendi repoma giderim. "View all branches" yaparım. "New branch" düğmesine tıklarım ve source olarak esas Github'ı veririm
3. Notifications
Github üzerindeki benden gözden geçirmek istenilen Pull Request'leri görmek için şöyle yaparız
https://github.com/notifications?query=reason%3Areview-requested
4. Arama
Örnek - dosya ismi
filename:XX ile dosya ismine göre aramak için şöyle yaparız
https://github.com/search?q=org%3AOptivaInc+filename:Cd_fi.xml
5. Dosya İçinde Arama
in:file arama özelliği kullanılıyor
Örnek - kelime
"octocat" kelimesini
ararhttps://github.com/search?q=octocat+in%3Afile&type=Code
Örnek
Şöyle yaparız
SpringJUnitConfig lang:Java owner:OrcunColak
6. Belli Bir Repository Dosyaları İçinde Arama
Örnek
OptivaInc şirketine ait repository'lerdeki dosyalarda "octocat" kelimesini
ararhttps://github.com/search?q=org%3AOptivaInc+octocat+in%3Afile&type=Code
Şöyle yaparız
https://github.com/search?q=org%3AOptivaInc+INTPcrbdb%3A+in%3Afile&type=Code
Örnek
OptivaInc şirketine ait repository'lerdeki dosyalarda "octocat" kelimesini uzantısı gradle olan dosyalarda arar
https://github.com/search?p=1&q=org%3AOptivaInc+octocat+in%3Afile+extension%3Agradle&type=Code
Issue
Created By ile Arama
Şöyle yaparız
https://github.com/hazelcast/hazelcast/issues/created_by/ocolak
Filtre bölümüne şunu yazabiliriz
is:open is:issue archived:false author:ocolak
İki repodaki label'lara bakmak için şöyle yaparız
is:issue repo:hazelcast/hazelcast repo:hazelcast/hazelcast-enterprise is:open label:"Type: Test-Failure" sort:created-desc
GitHub Pull Request
Pull Request için açılan gözden geçirmeye yorum varsa, soruyu soran kişi Resolve Conversation işlemini yapar.
GitHub Review
1. Koda yorumları gir. Yorumlar
Add single comment veya
Start a review olarak girilebilir. Açıklaması
şöyle
There are two options:
1. Add a single comment
2. Start a review
If you click on add single comment, the comment will be made immediately.
If you click on start a review, you’ll have the chance to write more comments before sending them at once. To end the review, you need to click on the Review changes button and select submit review.
Start a review olarak girdiysek her girilen yorum Pending olarak gösterilir. Gözden geçirme bitince Review changes düğmesine tıklanır ve Request changes düğmesine tıklanır
Git Hook
Git hooks are scripts that run automatically every time a particular event occurs in a Git repository. They let you customize Git’s internal behavior and trigger customizable actions at key points in the development life cycle.
Web Hook
Açıklaması şöyle
Go to the settings of your GitHub repository and go to Webhooks. Add a new webhook, add the previously generated public URL + “/github-webhook/” to the Payload URL and change the content type to application/json. Select Just the push event to trigger the webhook, and finally click Add webhook.