Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
chore: remove internal docs from public repo, make apk download instance-scoped v1.4.8
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
|
docs/
|
||||||
*.log
|
*.log
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dist/
|
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
docs/
|
||||||
|
*.log
|
||||||
|
.git
|
||||||
|
.github
|
||||||
@@ -2889,7 +2889,12 @@
|
|||||||
headerButtons.prepend(installBtn);
|
headerButtons.prepend(installBtn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function isYakTubeInstance() {
|
||||||
|
return window.location.hostname.includes('yaktube.yakhub.com.tr') || getInstanceName() === 'YakTube';
|
||||||
|
}
|
||||||
|
|
||||||
function injectApkDownloadButton() {
|
function injectApkDownloadButton() {
|
||||||
|
if (!isYakTubeInstance()) return;
|
||||||
// 1. If inside APK: NEVER show APK button
|
// 1. If inside APK: NEVER show APK button
|
||||||
if (isInsideYakTubeApp) {
|
if (isInsideYakTubeApp) {
|
||||||
var existBtnApp = document.getElementById('yaktube-apk-download-btn');
|
var existBtnApp = document.getElementById('yaktube-apk-download-btn');
|
||||||
@@ -2934,6 +2939,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function injectSidebarApkLink() {
|
function injectSidebarApkLink() {
|
||||||
|
if (!isYakTubeInstance()) return;
|
||||||
// If inside APK: NEVER show in sidebar
|
// If inside APK: NEVER show in sidebar
|
||||||
if (isInsideYakTubeApp) {
|
if (isInsideYakTubeApp) {
|
||||||
var existLink = document.getElementById('yaktube-sidebar-apk-link');
|
var existLink = document.getElementById('yaktube-sidebar-apk-link');
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-yaktube-ondemand",
|
"name": "peertube-plugin-yaktube-ondemand",
|
||||||
"version": "1.4.7",
|
"version": "1.4.8",
|
||||||
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube",
|
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"library": "./main.js",
|
"library": "./main.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user